home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3220 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: lll-winken.llnl.gov!usenet
  2. From: Sean Ahern <ahern@llnl.gov>
  3. Newsgroups: comp.sys.sun.admin,comp.sys.unix,comp.lang.c
  4. Subject: Yet more GCC 2.7.2 problems (SunOS 4).  Memmove is missing.
  5. Date: Fri, 26 Jan 1996 14:47:07 -0800
  6. Organization: Lawrence Livermore National Laboratory
  7. Message-ID: <310959EB.41C6@llnl.gov>
  8. NNTP-Posting-Host: sphere.llnl.gov
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (X11; I; IRIX 5.3 IP12)
  13.  
  14. Just to let you know what OS I'm on, uname -a gives me this:
  15. SunOS spear.lln 4.1.3_U1 1 sun4c
  16.  
  17. I've compiled and installed GCC 2.7.2 on this machine, but I've noticed that
  18. I'm missing something important.  The memmove call is missing, it seems.  I get
  19. unresolved references when I attempt to compile code that uses memmove.
  20.  
  21.     gcc -o foo foo.c -ldl
  22.     ld: Undefined symbol 
  23.        _memmove 
  24.  
  25. Looking around the configuration for sun and the source code for gcc would lead
  26. me to believe that memmove should be in the libgcc.a libraries, but I can't
  27. seem to find it.  I also can't seem to find anything mentioning this on the Web
  28. or in any FAQ.
  29.  
  30. Does anyone know what I might be doing wrong here?
  31.  
  32. Thanks for your help.
  33.  
  34. --                                              __           .
  35. ahern@llnl.gov                                 (  _  _.._   /||_  _ ._._
  36. Lawrence Livermore National Laboratory        __)(/_(_|| ) /-|| )(/_| | )
  37. http://ccnet.com/~ahern/
  38.